home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / info-service / wais / ir-book-sources / stemmer / stem.h < prev    next >
C/C++ Source or Header  |  1993-04-08  |  629b  |  29 lines

  1.  
  2. /*******************************   stem.h   ***********************************
  3.  
  4.    Purpose: Header file for an implementation of the Porter stemming 
  5.             algorithm.
  6.  
  7.    Notes:   This module implemnts a fast stemming function whose results
  8.             are about as good as any other.
  9. **/
  10.  
  11. #ifndef STEM_H
  12. #define STEM_H
  13.  
  14. /******************************************************************************/
  15. /****************************   Public Routines   *****************************/
  16.  
  17. #ifdef __STDC__
  18.  
  19. extern int Stem( char *word );      /* returns 1 on success, 0 otherwise */
  20.  
  21. #else
  22.  
  23. extern int Stem();
  24.  
  25. #endif
  26.  
  27. #endif
  28.  
  29.